import React from 'react';
import { Carousel } from 'antd';
import vv from '@/assets/homePage/newbanner@2x.png';
import styles from './index.less';

const localData = [
    {
        url: 'https://vv.com.sg/home/#about',
        alt: '微科技微生活    数据改变生活',
        src: vv
    }
];
const CarouselApp = () => (
    <div className={styles.CarouselApp}>
        <Carousel autoplay>
            {localData.map(item => (
                <a href={item.url} key={item.url} target="_blank" rel="noopener noreferrer">
                    <img src={item.src} alt={item.alt} />
                </a>
            ))}
        </Carousel>
    </div>
);
export default CarouselApp;
